import React, { Suspense } from 'react';
import { createHashRouter, RouterProvider } from "react-router-dom";
import route from '@/router/index.jsx';

const router = createHashRouter(route);

const App = () => {

	return (
		<Suspense>
			<RouterProvider router={router} />
		</Suspense>
	)
}

export default App;